package com.yq.news.service;

import com.yq.news.api.NewsQueryApi;
import com.yq.news.pojo.Category;
import com.yq.news.pojo.News;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("news-query-ms")
public interface FeignService extends NewsQueryApi {
//    //新闻信息
//    @RequestMapping(value = "/getNewsList")
//    public List<News> getNewsList();
//    //新闻分类信息
//    @RequestMapping(value = "/getCategoryList")
//    public List<Category> getCategoryList();
}
